const initialState = {
    data: ''
}
import {combineReducers} from 'redux'
export default combineReducers({
    home: (state = initialState, action) => {
        switch (action.type) {
        case 'CHANGE_DATA':
            return {
                ...state,
                data: action.payload,
            }
        default:
            return state
        }
    }
})
